package com.gsit.omega.ea.services;

import org.springframework.beans.factory.annotation.Autowired;

import com.gsit.omega.ea.domain.EmployeeAttendance;


public class EmployeeAttendanceServiceImpl implements EmployeeAttendanceService {
	
	@Autowired
	private CurrentUserService currentUserService; 
	
	  public void saveEmployeeAttendance(EmployeeAttendance employeeAttendance) {
		  employeeAttendance.setUser(currentUserService.getCurrentUser());
	      employeeAttendance.persist();
	    }
}
